package com.han.hotelplat.service.employee;

import java.util.List;
import java.util.Map;

import com.han.hotelplat.comm.base.Pager;
import com.han.hotelplat.pojo.employee.Employee;

public interface EmployeeService {
	/**
	 * 
		 * @description	
		 * @author  han1088
		 * @param phone 电话号码
		 * @param code 验证码
		 * @return
	 */
	Map<String, Object> login(String phone, String code);

	Map quickLogin(String userid);

	void update(Employee employee);

	Map<String, Object> searchEmployee(String taskid, Integer areaCode,
			String condition, Integer pageNum, Short pageSize);

	Employee getEmployee(String userid);

	void save(Employee em);

	Pager<Employee> findEmployee(String startDate, String endDate, Integer state,
			Integer level, Integer areaCode, String condition, Integer pageNo, String hotelName, Integer sortType);

	Employee findEmployeeByTel(String tel);

	Map<String, Integer> getEmCount();

	Map loginByPassword(String phone, String password);

	List<Employee> expEmployee(String startDate, String endDate,
			Integer state, Integer level, Integer areaCode, String condition);

	void noticeEmAddInfo();
}
